Optimal. Leaf size=658 \[ -\frac{d 2^{-n-7} 3^{-n-1} e^{-\frac{6 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{d 2^{-2 n-7} e^{-\frac{4 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{d 2^{-n-7} e^{-\frac{2 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{d 2^{-n-7} e^{\frac{2 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{d 2^{-2 n-7} e^{\frac{4 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{d 2^{-n-7} 3^{-n-1} e^{\frac{6 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{n+1}}{16 b c^3 (n+1) \sqrt{c x-1} \sqrt{c x+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.05162, antiderivative size = 658, normalized size of antiderivative = 1., number of steps used = 13, number of rules used = 5, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.172, Rules used = {5798, 5781, 5448, 3307, 2181} \[ -\frac{d 2^{-n-7} 3^{-n-1} e^{-\frac{6 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{d 2^{-2 n-7} e^{-\frac{4 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{d 2^{-n-7} e^{-\frac{2 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,-\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{d 2^{-n-7} e^{\frac{2 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{d 2^{-2 n-7} e^{\frac{4 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}+\frac{d 2^{-n-7} 3^{-n-1} e^{\frac{6 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \text{Gamma}\left (n+1,\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{c x-1} \sqrt{c x+1}}-\frac{d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{n+1}}{16 b c^3 (n+1) \sqrt{c x-1} \sqrt{c x+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5798
Rule 5781
Rule 5448
Rule 3307
Rule 2181
Rubi steps
\begin{align*} \int x^2 \left (d-c^2 d x^2\right )^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^n \, dx &=-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \int x^2 (-1+c x)^{3/2} (1+c x)^{3/2} \left (a+b \cosh ^{-1}(c x)\right )^n \, dx}{\sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x)^n \cosh ^2(x) \sinh ^4(x) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int \left (\frac{1}{16} (a+b x)^n-\frac{1}{32} (a+b x)^n \cosh (2 x)-\frac{1}{16} (a+b x)^n \cosh (4 x)+\frac{1}{32} (a+b x)^n \cosh (6 x)\right ) \, dx,x,\cosh ^{-1}(c x)\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{1+n}}{16 b c^3 (1+n) \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x)^n \cosh (2 x) \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^3 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x)^n \cosh (6 x) \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int (a+b x)^n \cosh (4 x) \, dx,x,\cosh ^{-1}(c x)\right )}{16 c^3 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{1+n}}{16 b c^3 (1+n) \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int e^{-6 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{64 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int e^{-2 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{64 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int e^{2 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{64 c^3 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int e^{6 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{64 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int e^{-4 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{\left (d \sqrt{d-c^2 d x^2}\right ) \operatorname{Subst}\left (\int e^{4 x} (a+b x)^n \, dx,x,\cosh ^{-1}(c x)\right )}{32 c^3 \sqrt{-1+c x} \sqrt{1+c x}}\\ &=-\frac{d \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^{1+n}}{16 b c^3 (1+n) \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2^{-7-n} 3^{-1-n} d e^{-\frac{6 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2^{-7-2 n} d e^{-\frac{4 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2^{-7-n} d e^{-\frac{2 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,-\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2^{-7-n} d e^{\frac{2 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}-\frac{2^{-7-2 n} d e^{\frac{4 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}+\frac{2^{-7-n} 3^{-1-n} d e^{\frac{6 a}{b}} \sqrt{d-c^2 d x^2} \left (a+b \cosh ^{-1}(c x)\right )^n \left (\frac{a+b \cosh ^{-1}(c x)}{b}\right )^{-n} \Gamma \left (1+n,\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )}{c^3 \sqrt{-1+c x} \sqrt{1+c x}}\\ \end{align*}
Mathematica [A] time = 3.18452, size = 438, normalized size = 0.67 \[ \frac{d^2 2^{-2 n-7} 3^{-n-1} e^{-\frac{6 a}{b}} \sqrt{\frac{c x-1}{c x+1}} (c x+1) \left (a+b \cosh ^{-1}(c x)\right )^n \left (-\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{b^2}\right )^{-n} \left (2^n e^{\frac{6 a}{b}} \left (2^{n+3} 3^{n+1} \left (a+b \cosh ^{-1}(c x)\right ) \left (-\frac{\left (a+b \cosh ^{-1}(c x)\right )^2}{b^2}\right )^n-b (n+1) e^{\frac{6 a}{b}} \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^n \text{Gamma}\left (n+1,\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )\right )+b 2^n (n+1) \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )^n \text{Gamma}\left (n+1,-\frac{6 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )-b 3^{n+1} (n+1) e^{\frac{2 a}{b}} \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )^n \text{Gamma}\left (n+1,-\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )-b 2^n 3^{n+1} (n+1) e^{\frac{4 a}{b}} \left (\frac{a}{b}+\cosh ^{-1}(c x)\right )^n \text{Gamma}\left (n+1,-\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+b 2^n 3^{n+1} (n+1) e^{\frac{8 a}{b}} \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^n \text{Gamma}\left (n+1,\frac{2 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )+b 3^{n+1} (n+1) e^{\frac{10 a}{b}} \left (-\frac{a+b \cosh ^{-1}(c x)}{b}\right )^n \text{Gamma}\left (n+1,\frac{4 \left (a+b \cosh ^{-1}(c x)\right )}{b}\right )\right )}{b c^3 (n+1) \sqrt{d-c^2 d x^2}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.319, size = 0, normalized size = 0. \begin{align*} \int{x}^{2} \left ( -{c}^{2}d{x}^{2}+d \right ) ^{{\frac{3}{2}}} \left ( a+b{\rm arccosh} \left (cx\right ) \right ) ^{n}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (-c^{2} d x^{2} + d\right )}^{\frac{3}{2}}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{n} x^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-{\left (c^{2} d x^{4} - d x^{2}\right )} \sqrt{-c^{2} d x^{2} + d}{\left (b \operatorname{arcosh}\left (c x\right ) + a\right )}^{n}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]